package com.ljf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljf.dto.SupplierPageDto;
import com.ljf.dto.SupplierSaveDto;
import com.ljf.entity.Supplier;

import java.util.List;
import java.util.Map;

public interface SupplierService extends IService<Supplier> {
    List<Map<String, Object>> queryOptionsSuppliers();

    Page<Supplier> pageQuery(SupplierPageDto dto);

    void saveSupplier(Supplier supplier);

    void updateSupplier(Supplier supplier);

    void deactivate(Long cn);
}
